﻿@model LogonInfo

<!DOCTYPE html>

@{
    <script>
        window._vt = @Adp.Env.StaticFileVersion;
    </script>

    @if (ViewData["LoginUrl"] != null)
    {
        if ((bool)ViewData["AnotherPlaceLogined"])
        {
            @Html.Alert("帐号在别处登录！有问题请与管理员联系.");
        }
        <script>
            window.location.href = "@(ViewBag.LoginUrl)" + (window.location.hash?"?rt="+window.location.hash.substr(1):"");
        </script>
        return;
    }
}

<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@Html.Raw(Adp.Env.GetConfigurationValue("Title"))</title>
    <script data-main="@(Adp.Env.TcmBaseURL)/Server/main.js?vt=@Adp.Env.StaticFileVersion" src="@(Adp.Env.TcmBaseURL)/Server/lib/require.js"></script>
    <script>window.TcmBaseURL = '@(Adp.Env.TcmBaseURL)'</script>
</head>
<body>
    <div id="app"></div>
</body>
</html>
